WP_Defender\Component\Scan C

Total Complexity 116
Dependencies 16
Dependents 3
Total lines 788
Lines of code 498
Logical lines of code 250
Comment lines 215
Methods 28
Properties 6

Methods 28

Method Rating Maintainability Complexity Lines of code
attach_plugin_vulnerability_warning()
C
34 23 92
clear_logs()
A
41 8 63
process()
A
41 8 61
task_handler()
A
51 9 27
get_tasks()
A
53 9 25
is_any_scan_active()
A
56 8 18
display_vulnerability_warnings()
S
52 6 26
update_idle_scan_status()
S
57 4 18
has_lock()
S
59 4 15
reindex_ignored_issues()
S
60 4 13
update_idle_scan_status_by_checksum_issue()
S
59 3 15
indicator_issue_count()
S
66 3 8
maybe_track_failed_checksum()
S
59 2 15
clean_up()
S
64 3 10
cancel_a_scan()
S
60 2 15
gather_info()
S
71 2 6
advanced_scan_actions()
S
70 2 7
set_malware_scan()
S
74 2 5
suspicious_check()
S
66 2 8
set_known_vulnerability()
S
74 2 5
set_gather_fact()
S
74 2 5
vuln_check()
S
71 2 6
__construct()
S
73 1 5
remove_lock()
S
81 1 3
show_plugin_admin_styles()
S
72 1 6
delete_interim_data()
S
67 1 9
create_lock()
S
79 1 3
get_intentions()
S
67 1 9